package yang.learn.dao;

import yang.learn.entity.ChatRoom;
import yang.learn.entity.ChatRoomRecord;

import java.util.List;

public interface ChatRoomRecordDao {
    public void add(ChatRoomRecord chatRoomRecord);
    public void del(ChatRoomRecord chatRoomRecord);
    public void change(ChatRoomRecord chatRoomRecord);
    public ChatRoomRecord query(ChatRoomRecord chatRoomRecord);
    public List<ChatRoomRecord> queryAll(ChatRoom chatRoom);
}
